﻿@using NewLife.Common;
@using System.Collections.Generic;
@{
    var set = ViewBag.PageSetting as PageSetting;
}
@if (set.EnableSelect)
{
    <button type="button" class="btn btn-primary btn-sm" data-action="action" data-url="@Url.Action("BatchOperate",new{act="install"})" data-fields="keys" disabled>
        发布
    </button>
    <button type="button" class="btn btn-success btn-sm" data-action="action" data-url="@Url.Action("BatchOperate",new{act="start"})" data-fields="keys" disabled>
        启动
    </button>
    <button type="button" class="btn btn-warning btn-sm" data-action="action" data-url="@Url.Action("BatchOperate",new{act="stop"})" data-fields="keys" disabled>
        终止
    </button>
    <button type="button" class="btn btn-info btn-sm" data-action="action" data-url="@Url.Action("BatchOperate",new{act="restart"})" data-fields="keys" disabled>
        重启
    </button>
    <button type="button" class="btn btn-danger btn-sm" data-action="action" data-url="@Url.Action("BatchOperate",new{act="uninstall"})" data-fields="keys" disabled>
        卸载
    </button>
}